package com.rmb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 数据关联表(EtlTaskJoinInfo)实体类
 *
 * @author makejava
 * @since 2021-01-09 14:23:34
 */
@Data
@Entity
@Table(name = "etl_task_join_info")
@NoArgsConstructor
@AllArgsConstructor
public class EtlTaskJoinInfo implements Serializable {
    private static final long serialVersionUID = -88378463700894219L;
    /**
     * id
     */
    @Id
    private Long id;
    /**
     * 节点ID
     */
    private Long nodeId;
    /**
     * 任务ID
     */
    private Long taskId;
    /**
     * 左节点ID
     */
    private Long leftNodeId;
    /**
     * 左表ID
     */
    private Long leftId;
    /**
     * 关联方式
     */
    private String joinType;
    /**
     * 右表节点ID
     */
    private Long rightNodeId;
    /**
     * 右表ID
     */
    private Long rightId;
    /**
     * 左表字段
     */
    private String leftJoinField;
    /**
     * 右表字段
     */
    private String rightJoinField;
    /**
     * 乐观锁
     */
    private Integer revision;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * 更新时间
     */
    private Date updateTime;

}